@include('common.header')
<link rel="stylesheet" href="{{ URL::asset('css/pc.css') }}">
<section class="">
    <form method="post" action="/login" class="userform">
        @csrf
        <div class="formtitle">
            <h2 class="text-center">忘记密码</h2>
        </div>
        <div class="field">
            <label class="label">手机号</label>
            <div class="control">
                <input class="input @error('phone') is-danger @enderror" name="phone" type="text" value="{{ old('phone') }}">
            </div>
            @error('phone')
            <p class="help is-danger">{{ $message }}</p>
            @enderror
        </div>

        <div class="field">
            <label class="label">密码</label>
            <div class="control">
                <input class="input @error('password') is-danger @enderror" name="password" type="password" placeholder="">
            </div>
            @error('password')
            <p class="help is-danger">{{ $message }}</p>
            @enderror
        </div>

        <div class="control">
            <button class="button is-primary" type="submit" >登录</button>
        </div>

        <a href="{{ url('/register') }}">
            <dic class="">
                注册
            </dic>
        </a>
        <a href="{{ url('/forget') }}">
            <dic class="">
                登录
            </dic>
        </a>
    </form>
</section>
@include('common.footer')
